function deleteAnswer(idTemp) {

	$.get("deleteServlet?type=3&id=" + idTemp, deleteAnswerCallBack);

}
function deleteAnswerCallBack(id) {

	window.location.assign("listAnswer.jsp?questionId=" + id);

}
function deleteQuestion(idTemp) {

	$.get("deleteServlet?type=2&id=" + idTemp, deleteQuestionCallBack);

}
function deleteQuestionCallBack(idTemp) {

	window.location.assign("forum.jsp?boardId=" + idTemp);

}
function deleteBoard(idTemp) {

	$.get("deleteServlet?type=1&id=" + idTemp, deleteBoardCallBack);

}
function deleteBoardCallBack() {

	window.location.assign("forum.jsp?boardId=1");

}